package com.chinasoft.class1.group2;

import com.chinasoft.main.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class LuKengquan implements TrueWord {
    List<String> wordList = new ArrayList<>();
    Random random = new Random();

    public LuKengquan(){
        wordList.add("我想睡大觉");
        wordList.add("今天想看演唱会 ！");
        wordList.add("出去打乒乓球 ！");
    }
    @Override
    public String getWord() {
        int index = random.nextInt(wordList.size());
        return wordList.get( index);
    }

    @Override
    public String getName() {
        return "卢铿全";
    }
}
